<?php
const DEBUGPRINT=true;
if (DEBUGPRINT) echo  date('Y-m-d [H:i:s]');
if (DEBUGPRINT) echo '<br> index.php';



include 'template_add_message.html';


 $name='sergey';
 $message='завыдалвоыадл длоыа  !!!';
 $datetime='00000!!!';
 $id='3';
 $message_del 	  = PATH.'index.php?del='.$id;
 $message_coment  = PATH.'index.php?coment='.$id;
 $message_change  = PATH.'index.php?change='.$id;
 
 $comentid='99';
 $coment_del=PATH.'index.php?change='.$comentid;
 $coment_change=PATH.'index.php?changecoment='.$comentid;

 $comentname='sad';
 $comentdatetime='16';
 $coment='sad safas fsaf ';
 
if (DEBUGPRINT) echo  ('template_show_body.html');
 include 'template_show_body.html';

 if (DEBUGPRINT) echo  ('template_coments.html');
 include 'template_coments.html';
 include 'template_coments.html';
 
//$templates->template_form();
if (DEBUGPRINT) echo '<br> --- index.php';
?>